<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8" />
	<title>网上花店</title>

</head>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./font/iconfont.css">
<link rel="stylesheet" href="./js/swiper-3.4.2.min.css">
<link rel="stylesheet" href="./css/swiper.css">
<link rel="stylesheet" href="./js/animate.min.css">
<link rel="stylesheet" href="./css/lm.css">
<link rel="stylesheet" href="./css/global.css">
<link rel="stylesheet" href="./js/layui.css">

<body class="set-bg">
	<div class="top-bar">
		<div class="banner">
			<span class="left">欢迎访问在线商城</span>
			<span class="right">
        <a href="#" id="search"><i class="iconfont icon-search"></i></a>
        <a href="./card.html"><i class="iconfont icon-cart"></i></a>
        <a href="./login.html"><i class="iconfont icon-user"></i></a>
      </span>
		</div>
		<div class="searchBox">
			<div class="layui-form-item" style="margin: 0;">
				<div class="layui-input-block flex-box" style="margin: 0;">
					<input type="text" name="title" required lay-verify="required" placeholder="请输入关键字" autocomplete="off"
						class="layui-input">
					<button onclick="redirect()" class="layui-btn layui-btn-normal" style="margin-left: 10px;">搜索</button>
				</div>
			</div>
		</div>
	</div>
	<header>
		<ul class="nav">
			<li><i class="iconfont icon-shouye" style="font-size: 20px;"></i><a href="./index.html">商城首页</a></li>
			<li><i class="iconfont icon-suoyou" style="font-size: 20px;"></i><a href="./all.html">所有商品</a></li>
			<li><i class="iconfont icon-liuyanpinglun" style="font-size: 20px;"></i><a href="./leave_message.html">留言</a></li>
			<li><i class="iconfont icon-guanyu" style="font-size: 20px;"></i><a href="./diary.html">养花日记</a></li>
			<!-- <li><i class="iconfont icon-liuyanpinglun"></i><a href="#">待定</a></li> -->
		</ul>
	</header>
	<div class="pic" style="text-align: center;">
		<img src="./img/New Message_Monochromatic.png" alt="ddd" width="200px">
	</div>
	<div id="editor">
		
		<div class="layui-form-item layui-form-text">
			<!-- <label class="layui-form-label">文本域</label> -->
			<div class="layui-input-block">
				<textarea name="desc" placeholder="请输入内容" class="layui-textarea"></textarea>
			</div>
		</div>
	</div>
	<div class="button1" style="text-align: center;">
		<div class="layui-btn lm-btn">留言</div>
	</div>
	<div class="line_01">留言列表</div>
	<!-- 留言板 -->
	<link rel="stylesheet" href="./css/review.css">
	<link rel="stylesheet" href="./js/layui.css">
	<div class="container">
		<div id="masonry" class="container-fluid">
			<div class="card box">
				<a href="#">
					<div class="content">
						<span class="date">2021-12-24</span>
						<p>朱顶红已经有花败的样子。花箭怎么处理。众说纷纭，有齐球茎减掉。有说只箭花，留花箭，养分回流。到底怎么才好？不要接种，需要养球。</p>
						<span class="read-more">顾客1</span>
					</div>
				</a>
			</div>
			<div class="card box">
				<a href="#">
					<div class="content">
						<span class="date">2021-12-24</span>
						<p>朱顶红已经有花败的样子。花箭怎么处理。说只箭花，留花箭，养分回流。到底怎么才好？不要接种，需要养球。</p>
						<span class="read-more">顾客1</span>
					</div>
				</a>
			</div>
			<div class="card box">
				<a href="#">
					<div class="content">
						<span class="date">2021-12-24</span>
						<p>朱顶红已经有花败的样子。花箭怎么处理。众说纷纭，不要接种，需要养球。</p>
						<span class="read-more">顾客1</span>
					</div>
				</a>
			</div>
		</div>

	</div>

	<footer style="height: 100px; background: #757575;margin-top: 20px;">

		<div class="display">
			<img src="./img/插画/1.png" alt="www" width="80px" height="80px">
			<div class="contact">
				<span>邮箱：56623265564@qq.com</span>
				<span>电话：400 6666 6666</span>
			</div>
			<img src="./img/插画/3.png" alt="www" width="80px" height="80px">
		</div>
		<!-- <div class="welcome">
			欢迎访问在线商城
		</div> -->
		<!-- <div class="profile">
			<p>本店销售各种植物花卉，如向日葵、百合、菊花、玫瑰、白百合、红玫瑰、牡丹、雏菊、郁金香、月季、康乃馨......可预订和在线购买。</p>
		</div> -->
	</footer>
	
	<script src="./js/swiper-3.4.2.min.js"></script>
	<script src="js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="./js/masonry-docs.min.js"></script>
	<script src="./js/wow.min.js"></script>
	
	<script src="./js/wangEditor.min.js"></script>
	<script src="./js/layui.js"></script>
	<script>
		new WOW().init();
		var swiper = new Swiper('.swiper-container', {
			loop: true,
			autoplay: 5000
		});
		$("#search").click(function (e) {

			$(".searchBox").toggle(500)
		})
		// $("body").click(function() {
		// 	$(".searchBox").hide(500)
		// })
		function redirect() {
			console.log("跳转");
			window.location.replace("./all.html");

		}
		$(function () {
			var $container = $('#masonry');
			$container.imagesLoaded(function () {
				$container.masonry({
					itemSelector: '.box',
					gutter: 12,
					isAnimated: true,
				});
			});
		});
    // const E = window.wangEditor
    // const editor = new E('#editor')
    // // 或者 const editor = new E( document.getElementById('div1') )
    // editor.create()
	</script>
</body>

</html>